package view;

import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.stage.Stage;

public class Main extends Application {

    @Override
    public void start(Stage primaryStage) throws Exception{
        //点击事件中：
        Parent window = FXMLLoader.load(getClass().getClassLoader().getResource("Window.fxml"));
        AlertWindow.display(window,"一个窗口的标题",550,125);

//        Parent root = FXMLLoader.load(getClass().getClassLoader().getResource("Disk.fxml"));
//        Disk.display(root);


//        Parent R = FXMLLoader.load(getClass().getClassLoader().getResource("Rclick.fxml"));
//        Rclick.display(R);
    }


    public static void main(String[] args) {
        launch(args);
    }
}


